From 6528725d87afbb70b32050cf87a986e6f1503032 Mon Sep 17 00:00:00 2001 From: robertl Date: Mon, 21 Jun 2010 02:35:06 +0000 Subject: [PATCH] Silence MSVC 'unused' warning. git-svn-id: http://gpsbabel.googlecode.com/svn/trunk@3980 f51c46e8-681c-474f-0cfe-069cfd0219fb --- gpsbabel/gui/serial_win.cpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/gpsbabel/gui/serial_win.cpp b/gpsbabel/gui/serial_win.cpp index 67101b13d..7ebf02521 100644 --- a/gpsbabel/gui/serial_win.cpp +++ b/gpsbabel/gui/serial_win.cpp @@ -1,4 +1,4 @@ -// $Id: serial_win.cpp,v 1.2 2009-11-19 03:56:03 robertl Exp $ +// $Id: serial_win.cpp,v 1.3 2010-06-21 02:35:06 robertl Exp $ //------------------------------------------------------------------------ // // Copyright (C) 2009 S. Khai Mong . @@ -57,6 +57,7 @@ void MainWindow::osLoadDeviceNameCombos(QComboBox *box) // but DevList is already at the maximum size it can be without running into kb 931305. // FIXME: This shold be a QMessageBox::warning() - RJL // fprintf(stderr,"QueryDosDevice() failed with %d. GetLastError()==%d.\n", res, err); + (void) err; return; } -- 2.30.2